<script language="javascript">
function Report_issue(value)
{
window.location.href = 'laptop_depot.php?rq='+value+'';
}
</script>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
  <tr>
     <td bgcolor="#cccccc" width="200" valign="top"><!-- variable RHS Menu -->
	 <?php
	 if($_SESSION['user_groups_id']=="4") 
	  {
	  	 require('templates/menu4.php'); 
	  }
	  elseif($_SESSION['user_groups_id']=="8")
	  {
	     require('templates/menu8.php'); 
	  }
	  else
	  {
	     require('templates/menu7.php'); 
	  } 	 
	 ?>
	 </td>
	 <td valign="top" style="padding:30px 30px 30px 30px;">
	  <table width="600" border="0">
	  <tr>
	    <td><img src="heading/Laptops_In_ Depot.jpg" /></td>
	  </tr>
       <tr>
        <td>
	      <b>Request Type:&nbsp;</b>
		  <select size="1" name="request_type" id="request_type" onchange="Report_issue(this.value);">
              <option value="0" selected="selected">Select</option>
              <option value="1" <?php if($_REQUEST['rq']=='1'){echo 'selected="selected"';};?>>Ready to issue</option>
              <option value="2" <?php if($_REQUEST['rq']=='2'){echo 'selected="selected"';};?>>Substitute</option>
			  <option value="3" <?php if($_REQUEST['rq']=='3'){echo 'selected="selected"';};?>>Retained</option>
			  <option value="4" <?php if($_REQUEST['rq']=='4'){echo 'selected="selected"';};?>> Under Warranty Repairs</option>
			  <option value="5" <?php if($_REQUEST['rq']=='5'){echo 'selected="selected"';};?>> Under repair out of warranty</option>
			  <option value="6" <?php if($_REQUEST['rq']=='6'){echo 'selected="selected"';};?>> Laptop Damaged</option>
			  <option value="7" <?php if($_REQUEST['rq']=='7'){echo 'selected="selected"';};?>> Laptop stolen/lost</option>
			  <option value="9" <?php if($_REQUEST['rq']=='9'){echo 'selected="selected"';};?>>Pending</option>
		  </select>	  	 
		 </td>
		 </tr>
	   <tr>
	     <td><?php echo GetLaptopDepot($_REQUEST['rq']);?></td>
	   </tr>
	  </table>
	  </td>
	</tr>   	 
 </table>
